package com.pb.entity;

/**
 * 房屋信息
 * 
 * @author Jovi 2015年12月29日 House.java
 */
public class House {
	/**
	 * 房屋ID
	 */
	private int houseId;
	/**
	 * 房屋所处街道信息
	 */
	private Street street;
	/**
	 * 房屋标题
	 */
	private String title;

	public House() {
	}

	public House(int houseId, Street street, String title) {
		this.houseId = houseId;
		this.street = street;
		this.title = title;
	}
	

	/**
	 * 获取 房屋ID
	 * 
	 * @return houseId
	 */
	public int getHouseId() {
		return houseId;
	}

	/**
	 * 设置 房屋ID
	 * 
	 * @param houseId
	 *            房屋ID
	 */
	public void setHouseId(int houseId) {
		this.houseId = houseId;
	}

	/**
	 * 获取 房屋所处街道信息
	 * 
	 * @return street
	 */
	public Street getStreet() {
		return street;
	}

	/**
	 * 设置 房屋所处街道信息
	 * 
	 * @param street
	 *            房屋所处街道信息
	 */
	public void setStreet(Street street) {
		this.street = street;
	}

	/**
	 * 获取 房屋标题
	 * 
	 * @return title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 设置 房屋标题
	 * 
	 * @param title
	 *            房屋标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}

}
